package fun.sweeper.unity.entity;

import fun.sweeper.base.entity.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品类型对象 hh_type
 * @author chongjin
 * @date 2020-11-26
 */
public class HhType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 类型id
     */
    private Long typeId;

    /**
     * 分类名称
     */
    private String typeName;

    /**
     * 父类id
     */
    private Long parentId;

    /**
     * 分类等级
     */
    private String typeLevel;

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setTypeLevel(String typeLevel) {
        this.typeLevel = typeLevel;
    }

    public String getTypeLevel() {
        return typeLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("typeId", getTypeId())
                .append("typeName", getTypeName())
                .append("parentId", getParentId())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("isDel", getIsDel())
                .append("typeLevel", getTypeLevel())
                .toString();
    }
}
